﻿using System.Linq;
using System.Collections.Generic;
using System.Web;

namespace BookExchange.Utility
{
    public class CommonFunc
    {
        private static string GetStringWithMaxLength(IEnumerable<char> chars, int take)
        {
            return new string(chars.Take(take).ToArray());
        }

        private static string GetStringWithMaxLength(string chars, int take)
        {            
            return new string(chars.Take(take).ToArray());
        }
        
    }
}